var h_h	= "<div class='hlp_head'>Help</div><div class='hlp_txt'><br>&nbsp;&nbsp; Help - Window.<br><br></div>"
	
var t_rt = "<div class='hlp_head'>Random timer</div><div class='hlp_txt'>In set intervals the relay/socket is switched with 50% probability . It may happen that a several of successive intervals do not change the state of the relays. For this reason, you should avoid large intervals (intervals 3 x 2 hours = 6 hours).</div>"
	
var io_rel = "<div class='hlp_head'>Switch relay with I/O </div><div class='hlp_txt'>The relay can be switched thru IO's. The 'Control' determined the switching edge.</div>"
	
var io_fl = "<div class='hlp_head'>Switching edge</div><div class='hlp_txt'>If the function „Switch relay(s) thru I/O“ is used, with the „Control“ can be determined type of activation:\
	<br>\
	H - Level control: IO is high (H) = the relay is on; is IO low (L) = relay is off.<br>\
	LH - On at rising edge: from L (0) to H (1); off manually.<br>\
	HL - Off at falling edge from H to L; on manually.<br>\
	TL - Toggle on a rising edge from L to H.<br>\
	TH - Toggle on falling edge from H to L.</div>"
	
var io_inv = "<div class='hlp_head'>Invert</div><div class='hlp_txt'>Meaning the inversion is - regardless of the type of switching (NO or NC) - all desired keys represent the same.</div>"

if(parent.Typ!='o')
var io_pull = "<div class='hlp_head'>Pullup Resistor</div><div class='hlp_txt'>A pullup resistor 'pulls' the input to the logical '1' (approximately 2.5V). This allows to switch - connected between GND and an input - directly (without additional elements).</div>"	
else
var io_pull = "<div class='hlp_head'>IO Generator</div><div class='hlp_txt'>Because the IO input is galvanically isolated with an optocoupler, is generated to drive the IO input (without external voltage) a also galvanically isolated 70 kHz signal. It can be turned on or off and can be used simultaneously as an output signal.<br><br><img src='pic/IO.png'></div>"
	
var h_host = "<div class='hlp_head'>Host</div><div class='hlp_txt'>Host Name = name of the device must be unique on the network. No special characters or spaces may be used. Max. 15 characters.</div>"

var h_dhcp = "<div class='hlp_head'>DHCP</div><div class='hlp_txt'>Most networks have a DHCP server (also available in a DSL router), so the network setting is automated.\
 After switching device on the DHCP function provide all necessary parameters to connect to the network.<br />\
NET PwrCtrl can be called in the browser with the address: http://net-control.</div>"

var h_fest_ip = "<div class='hlp_head'>Fixed IP</div><div class='hlp_txt'>For a fixed IP of the network card the following parameters to be awarded:\
<p>IP: 192.168.0.1; <br>\
Subnet Mask: 255.255.255.0.<br>\
DHCP  off.</p>\
<p>NET PwrCtrl can to be called now via browser with the address: http://net-control or http://192.168.0.244.</p>\
<p>It involves factory parameters. It can of course also be entered any IP.</p></div>"

var h_port = "<div class='hlp_head'>HTTP Port</div><div class='hlp_txt'>0-65535<br>\
If the default port 80 have to be changed, because several units have to be addressed from the Internet or to operate HTTP server, must specify after the hostname ':' + port number: \ http://net-control:12345.</div>"

var h_mac = "<div class='hlp_head'>MAC</div><div class='hlp_txt'><b>MAC</b> must be unique on the network and can not be changed.<br />\
	The last three digits are the serial number.</div>"
	
var h_ajax = "<div class='hlp_head'>UDP Control</div><div class='hlp_txt'>UDP is an interface that can be used to control from own application.</div>"	

var h_ctrl = "<div class='hlp_head'>Control</div><div class='hlp_txt'>Sockets/Relays<br><hr>\
<span class=hlp_t style='background:#080'>Green</span>&nbsp;= switched on<br>\
<span class=hlp_t style='background:#624F4F'>Brau</span>&nbsp;= switched off<br>\
<span class=hlp_t style='background:#089DF4'>Blue</span>&nbsp;= switched on HoldOn<br>\
<span class=hlp_t style='background:#033451'>Dark blue</span>&nbsp;= switched off HoldOn<br>\
<span class=hlp_t style='background:#75997B'>Light green</span>&nbsp;= blocked switched on<br>\
<span class=hlp_t style='background:#958787'>Light Brown</span>&nbsp;= blocked switched off<br>\
<span class=hlp_t style='box-shadow: 0 0 0 1px #fff inset;'>Frame white</span>&nbsp;= Blinking<br>\
<br></div>"
if(parent.Typ!='a' && parent.Typ!='f') h_ctrl += "<div class='hlp_txt'>IO Input/Output<br><hr>\
<i>Output</i><br>\
<span class=hlp_t style='background:#080'>Green</span>&nbsp;= switched on<br>\
<span class=hlp_t style='background:#624F4F'>Brau</span>&nbsp;= switched off<br>\
<span class=hlp_t style='background:#089DF4'>Blue</span>&nbsp;= switched on HoldOn<br>\
<span class=hlp_t style='background:#033451'>Dark blue</span>&nbsp;= switched off HoldOn<br>\
<span class=hlp_t style='box-shadow: 0 0 0 1px #fff inset;'>Frame white</span>&nbsp;= Blinking<br>\
<i>Input</i><br>\
<span class=hlp_t style='background:#75997B'>Light green</span>&nbsp;= '1'<br>\
<span class=hlp_t style='background:#958787'>Light Brown</span>&nbsp;= '0'<br></div>"

var sv_name = "<div class='hlp_head'>Name</div><div class='hlp_txt'>The name can amounted up to 16 (ASCII) characters. Special characters are 2-4 characters long.</div>"

var sv_sper = "<div class='hlp_head'>Locking</div><div class='hlp_txt'>Locks relay/socket for control.</div>"

var sv_imp = "<div class='hlp_head'>Impuls</div><div class='hlp_txt'>Relay for the predetermined time (max 65535 seconds = 18.2h.):<br>\
	<br>\
	at chosen [on]  - swiched on (relay normal off).<br>\
	at chosen [off] - swiched off (relay normal on).<br>\
	<br>\
	It is used to control external devices that require a switching pulse. This function has the highest priority. All other switching operations (timers, etc.) will be switched as a pulse.</div>"

var sv_str = "<div class='hlp_head'>at Start</div><div class='hlp_txt'>After restarting (power failure) relay/socket has the following switching characteristics:\
		<ol>\
		<li>[off] - off at start.</li>\
		<li>[on] &nbsp;- on - possibly with delay [after (s)].</li>\
		<li>[rs] - restoring the last state - possibly with delay [after (s)].</li></ol>\
	<p>The delay may be a maximum of 65,535 seconds =1092 minutes, or 18.2 hours.</p></div>"

var sv_bt = "<div class='hlp_head'>Boot Time</div><div class='hlp_txt'>Displays elapsed seconds since the restart - for the time delay after the start important: It helps to see how far the boot process has progressed.</div>"

var sv_sw = "<div class='hlp_head'>Switch</div><div class='hlp_txt'>The relay/socket can be switched - for an interval of max. 65,535 seconds (18,2h) - on or off. The action performed, is indicated in the button and depends on the state of the relay/socket.</div>"

var sv_temp = "<div class='hlp_head'>Thermostat</div><div class='hlp_txt'>Relay/socket is switched, if the measured temperature according to the setting: is less than or greater. In order to avoid the repeated switching of the switching threshold is the hysteresis = ±0.5°C.</div>" 

var sv_holdon = "<div class='hlp_head'>HoldOn behavior</div><div class='hlp_txt'>Relay or IO is switched on as long as the key is held down. Two relays or IO's can be used for +/- control like a dimmer.</div>" 

var sv_icon = "<div class='hlp_head'>Button Symbol</div><div class='hlp_txt'>Displays <i>HTML Unicode UTF-8 characters</i> on the right of the button as a graphical representation of the function of the button.<br>The decimal value of the symbol must be entered in the field, 0 = no symbol.<br>Please note: not all symbols in all browsers can be displayed.</div>" 